﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VehicleDispatchFormPrint.aspx.cs" Inherits="DingHeng.TransportationManagement.WebSite.Biz.VehicleDispatchFormPrint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../resource/css/print.css" rel="stylesheet" type="text/css" />
    <style media="print" type="text/css">
        .Noprint
        {
            display: none;
        }
    </style>
    <object id="factory" style="display: none" codebase="/smsx.cab#Version=6,3,436,14"
        classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814">
    </object>
    <object id="WebBrowser" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
    </object>
    <script type="text/javascript">
        factory.printing.header = '';
        factory.printing.footer = '';
        factory.printing.portrait = true;
        factory.printing.leftMargin = 0;
        factory.printing.topMargin = 0;
        factory.printing.rightMargin = 0;
        factory.printing.bottomMargin = 0;

        function PrintPreview() {
            document.all.WebBrowser.ExecWB(7, 1);
        }
        function Print() {
            document.all.WebBrowser.ExecWB(6, 1);
        }
    </script>
    <script type="text/javascript">
        //<![CDATA[
        var tips; var theTop = 200;
        var old = theTop;
        function initFloatTips() {
            tips = document.getElementById('floatTips');
            moveTips();
        };
        function moveTips() {
            var tt = 50;
            if (window.innerHeight) {
                pos = window.pageYOffset
            }
            else if (document.documentElement && document.documentElement.scrollTop) {
                pos = document.documentElement.scrollTop
            }
            else if (document.body) {
                pos = document.body.scrollTop;
            }
            pos = pos - tips.offsetTop + theTop;
            pos = tips.offsetTop + pos / 10;
            if (pos < theTop) pos = theTop;
            if (pos != old) {
                tips.style.top = pos + "px";
                tt = 10;
            }
            old = pos;
            setTimeout(moveTips, tt);
        }
        //!]]>
    </script>
    <style type="text/css">
        div#floatTips
        {
            position: absolute;
            border: solid 1px #777;
            padding: 3px;
            top: 500px;
            left: 20px;
            width: 50px;
            background: #cccccc;
            color: white;
        }
        .auto-style1
        {
            height: 15px;
            width: 50%;
        }
        .auto-style2
        {
            width: 50%;
        }
        .auto-style3
        {
            height: 20px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 0 auto; padding: 0; width: 900px; text-align: center;">
            <%--<div id="img_logo" style="width: 100%; height: 100px;">
                <table style="width: 100%; margin-top: 20px;">
                    <tr>
                        <td align="left">
                            <img alt="logoEN" style="width: 85px; height: 68px;" src="/Images/enLogo.jpg" />
                        </td>
                        <td align="right">
                            <img alt="logoCN" style="width: 74px; height: 68px;" src="/Images/cnLogo.jpg" />
                        </td>
                    </tr>
                </table>
            </div>--%>
            <div id="txt_header" style="width: 100%; height: 80px;">
                <table cellpadding="0" cellspacing="0" style="width: 100%;">
                    <tr style="width: 100%; height: 15px;">
                        <td style="width: 100%; height: 15px;"></td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="width: 100%; height: 100%; text-align: center;">
                            <label style="text-align: center;">
                                <b style="font-size: 20px; text-align: center;">山西晋阳鼎恒物流有限公司派车单</b>
                            </label>
                        </td>
                    </tr>
                    <%--<tr style="width: 100%; height: 15px;">
                        <td style="width: 100%; height: 15px;"></td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="width: 100%; height: 100%; text-align: center;">
                            <label style="text-align: center;">
                                <b style="font-size: 20px; text-align: center;">Labor Contract Review Form</b></label>
                        </td>
                    </tr>--%>
                    <tr style="width: 100%; height: 15px;">
                        <td style="width: 100%; height: 15px;"></td>
                    </tr>
                </table>
            </div>
            <div style="text-align: left;">
                <label style="width: 100%; height: 20px; font-size: 15px; text-align: left;">
                    派车单号：</label><asp:Label runat="server" ID="lblCode"></asp:Label>
            </div>
            <div id="txt_info" style="width: 100%; height: 70%;">
                <table cellpadding="0" cellspacing="0" id="tb_employeinfo" style="width: 100%; font-size: 15px;">
                    <tr style="width: 100%; height: 15px;">
                        <td class="auto-style1" colspan="2"></td>
                    </tr>
                    <tr style="width: 100%; height: 25px;">
                        <td style="border-color: Black; border-style: solid; border-bottom-style:none; border-width: thin;  border-right-style: none; text-align: left;" class="auto-style2">
                            <label>
                                项目名称：</label><asp:Label runat="server" ID="lblProjectName"></asp:Label>
                        </td>
                        <td style="border-style: solid; border-width: thin;  border-bottom-style:none; border-color: Black; text-align: left;">
                            <label>
                                派车时间：</label><asp:Label runat="server" ID="lblDispatchTime"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 25px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: none; border-right-style: none; text-align: left;" class="auto-style2">
                            <label>
                                车队负责人：</label><asp:Label runat="server" ID="lblPricipal"></asp:Label>
                        </td>
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: none; text-align: left;">
                            <label>
                                </label><asp:Label runat="server" ID="lbDepEN"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 15px;">
                        <td class="auto-style1" colspan="2"></td>
                    </tr>
                    <tr style="width: 100%; height: 25px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-right-style: none; text-align: left;" class="auto-style2">
                            <label>
                                车辆编号：</label><asp:Label runat="server" ID="lblVehicleCode"></asp:Label>
                        </td>
                        <td style="border-style: solid; border-width: thin; border-bottom-style: none;  border-color: Black; text-align: left;">
                            <label>
                                车牌号：</label><asp:Label runat="server" ID="lblLicensePlateNo"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 25px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style:none; border-top-style: none; border-right-style: none; text-align: left;" class="auto-style2">
                            <label>
                                车辆所有人：</label><asp:Label runat="server" ID="lblVehicleOwner"></asp:Label>
                        </td>
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style:none; border-top-style: none; text-align: left;">
                            <label>
                                联系电话：</label><asp:Label runat="server" ID="lblOwnerContactNo"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 25px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: none; border-right-style: none; text-align: left;" class="auto-style2">
                            <label>
                                司机：</label><asp:Label runat="server" ID="lblDriver"></asp:Label>
                        </td>
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: none; text-align: left;">
                            <label>
                                联系电话：</label><asp:Label runat="server" ID="lblDriverContactNo"></asp:Label>
                        </td>
                    </tr>
                </table>
                <table id="tb_depcomment" cellpadding="0" cellspacing="0" style="width: 100%; font-size: 15px;">
                    <tr style="width: 100%; ">
                        <td style="text-align: left;" class="auto-style3">
                            <label>
                                </label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td></td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; text-align: left;">
                            <label style="font-size: 12px;">
                                
                            </label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: dotted; border-bottom-style: none; text-align: left;">
                            <label>
                                </label>
                            <asp:Label runat="server" ID="lbSalesAchievement" Font-Underline="true"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-top-style: none; text-align: left;">
                            <label>
                                </label>
                            <asp:Label runat="server" ID="lbSalesGrowth" Font-Underline="true"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-top-style: none; text-align: left;">
                            <asp:Label ForeColor="#EE9A49" runat="server" ID="lbRenewal"></asp:Label><asp:Label
                                ForeColor="#388E8E" runat="server" ID="lbRenewaltype"></asp:Label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-top-style: none; text-align: left;">
                            <label>
                                </label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 40px;">
                        <td style="height: 60px; border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-top-style: none; empty-cells: show; text-align: left;">
                            <asp:Label runat="server" ID="lbComment"></asp:Label>&nbsp
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; text-align: left;">
                            <label>
                               </label>
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="width: 100%; height: 20px; border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-top-style: none; empty-cells: show; text-align: left;">&nbsp
                        </td>
                    </tr>
                    <tr style="width: 100%; height: 20px;">
                        <td style="width: 100%; height: 20px; border-color: Black; border-style: solid; border-width: thin; border-bottom-style: none; border-top-style: none; empty-cells: show; text-align: left;">&nbsp
                        </td>
                    </tr>
                    <tr style="width: 100%;">
                        <td style="border-color: Black; border-style: solid; border-width: thin; empty-cells: show;">
                            <div style="height: 100%;">
                                
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="floatTips" class="Noprint">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Noprint">
                <tr>
                    <td align="center">
                        <a href="javascript:void(null);" onclick="javascript:PrintPreview();">
                            <img alt="预览" src="/resource/image/image.png" border="0" />
                        </a>
                    </td>
                    <td align="center">
                        <a href="javascript:void(null);" onclick="javascript:Print();">
                            <img alt="打印" src="/resource/image/printer.png" border="0" />
                        </a>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
